package chapter3;

public class CalcTest {
	public static void main(String args[]){
		
		int num1 = Integer.parseInt(args[0]);                
		int num2 = Integer.parseInt(args[1]);
		System.out.println(num1);
		System.out.println(num2);
		
		String operation = args[2];
		int result = 0;
		
		if(operation.equals("+")){
			result = num1 + num2;
		}
		System.out.println(result);
		
	}

}
